﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class loaddeck : MonoBehaviour {


    GameObject newdeckbtn1;
    GameObject loaddeckbtn1;
    GameObject loaddecktext;
    GameObject loaddeckinput;
    GameObject loaddeck11;

    private void Awake()
    {
        loaddecktext = GameObject.Find("loaddecktext");
        loaddeckinput = GameObject.Find("loaddeckinput");
        loaddeck11 = GameObject.Find("loaddeck11");
    }

    void Start () {
        newdeckbtn1 = GameObject.Find("newdeck");
        loaddeckbtn1 = GameObject.Find("loaddeck");
            }

	public void onclickbtn()
    {
        newdeckbtn1.SetActive(false);
        loaddeckbtn1.SetActive(false);
        loaddecktext.SetActive(true);
        loaddeckinput.SetActive(true);
        loaddeck11.SetActive(true);
        loaddeckbtn1.SetActive(false);
    }
	
}
